package com.ruoyi.operationAdministration.service;

import java.util.List;
import com.ruoyi.operationAdministration.domain.OperationEquipmentBook;
import com.ruoyi.operationAdministration.vo.EquipmentBookVo;

/**
 * 设备基础台账Service接口
 *
 * @author lth
 * @date 2023-12-21
 */
public interface IOperationEquipmentBookService
{
    /**
     * 查询设备基础台账
     *
     * @param equipmentId 设备基础台账主键
     * @return 设备基础台账
     */
    public OperationEquipmentBook selectEquipmentBookByEquipmentId(String equipmentId);

    /**
     * 查询设备基础台账列表
     *
     * @param equipmentBook 设备基础台账
     * @return 设备基础台账集合
     */
    public List<OperationEquipmentBook> selectEquipmentBookList(OperationEquipmentBook equipmentBook);

    /**
     * 新增设备基础台账
     *
     * @param equipmentBook 设备基础台账
     * @return 结果
     */
    public int insertEquipmentBook(OperationEquipmentBook equipmentBook);

    /**
     * 修改设备基础台账
     *
     * @param equipmentBook 设备基础台账
     * @return 结果
     */
    public int updateEquipmentBook(OperationEquipmentBook equipmentBook);

    /**
     * 批量删除设备基础台账
     *
     * @param equipmentIds 需要删除的设备基础台账主键集合
     * @return 结果
     */
    public int deleteEquipmentBookByEquipmentIds(String[] equipmentIds);

    /**
     * 删除设备基础台账信息
     *
     * @param equipmentId 设备基础台账主键
     * @return 结果
     */
    public int deleteEquipmentBookByEquipmentId(String equipmentId);

    /**
     * 设备基础台账列表
     */
    List<OperationEquipmentBook> getEquipmentBookList(EquipmentBookVo vo);
}
